﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif

namespace MyFramework
{
    public class HideExample
    {
#if UNITY_EDITOR
        [MenuItem("QFramework/Example/04.Hide脚本测试", false, 15)]

        public static void ItemClick()
        {
            UnityEditor.EditorApplication.isPlaying = true;

            var gameObj = new GameObject("Hide");
            gameObj.AddComponent<Hide>();
        }
    }
#endif
}